package com.wanlian.router.net.netty2.msg;


import com.wanlian.router.utils.JsonStringUtil;

public class BaseMsg {
    private String type;

    private String clientId;

    private String tagClientId;

    private String content;

    public BaseMsg() {
        // this.clientId = Constants.getClientId();
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTagClientId() {
        return tagClientId;
    }

    public void setTagClientId(String tagClientId) {
        this.tagClientId = tagClientId;
    }

    public String toString() {
        return JsonStringUtil.writeValueAsString(this);
    }
}